package com.credit.util;

public class Constants {
	public static int SECOND = 1;
	public static int MINUTE = 60;
	public static int HOUR = 60 * 60;
	public static int DAY = 24 * 60 * 60;

	
	public static final Integer SERVER_GLOAB_SUCCESS_CODE = 200;
	public static final String SERVER_GLOAB_SUCCESS_DESC = "成功";
	
	public static final Integer SERVER_OTHER_ERROR_CODE = 9999;
	public static final String SERVER_OTHER_ERROR_DESC = "服务器内部错误";
	
	public static final Integer DATABASE_OPERATE_ERROR_CODE = 1001;
	public static final String DATABASE_OPERATE_ERROR_DESC = "数据库操作失";
	
	public static final Integer MOBILE_NOTNULL_ERROR_CODE = 1002;
	public static final String MOBILE_NOTNULL_ERROR_DESC = "mobile不能为空";
	
	public static final Integer CONFIRMPASS_NOTNULL_ERROR_CODE = 1003;
	public static final String CONFIRMPASS_NOTNULL_ERROR_DESC = "confirmPass不能为空";
	
	public static final Integer PASSWORD_NOTEQUAL_ERROR_CODE = 1004;
	public static final String PASSWORD_NOTEQUAL_ERROR_DESC = "两次输入的密码不一致";
	
	public static final Integer USER_NOTEXISTS_ERROR_CODE = 1005;
	public static final String USER_NOTEXISTS_ERROR_DESC = "用户不存在";
	
	public static final Integer PASSWORD_NOTCORRECT_ERROR_CODE = 1006;
	public static final String PASSWORD_NOTCORRECT_ERROR_DESC = "密码有误";
	
	public static final Integer TOKEN_NOTEXISTS_ERROR_CODE = 1007;
	public static final String TOKEN_NOTEXISTS_ERROR_DESC = "toke已失效";
	
	public static final Integer GRACODE_NOTNULL_ERROR_CODE = 1008;
	public static final String GRACODE_NOTNULL_ERROR_DESC = "graCode不能为空";
	
	public static final Integer GRACODE_VERIFY_ERROR_CODE = 1009;
	public static final String GRACODE_VERIFY_ERROR_DESC = "图形验证码有误"; 
	
	public static final Integer SMSCODE_NOTNULL_ERROR_CODE = 1010;
	public static final String SMSCODE_NOTNULL_ERROR_DESC = "smsCode不能为空";
	
	public static final Integer MOBILE_VERIFY_ERROR_CODE = 1011;
	public static final String MOBILE_VERIFY_ERROR_DESC = "手机号有误";
			
	public static final Integer PASSWORD_VERIFY_ERROR_CODE = 1012;
	public static final String PASSWORD_VERIFY_ERROR_DESC = "密码需6-18 位字母、数字、字符";
	
	public static final Integer SMSCODE_VERIFY_ERROR_CODE = 1013;
	public static final String  SMSCODE_VERIFY_ERROR_DESC ="手机验证码有误";
	
	public static final Integer MOBILE_REGISTER_ERROR_CODE = 1014;
	public static final String  MOBILE_REGISTER_ERROR_DESC ="该手机号已注册";
	
	public static final Integer USER_NOTEXIST_ERROR_CODE = 1015;
	public static final String  USER_NOTEXIST_ERROR_DESC = "该账号不存在";
	
	public static final Integer IDENTIFY_NOTCHECK_ERROR_CODE = 1016;
	public static final String  IDENTIFY_NOTCHECK_ERROR_DESC = "请先通过实名认证";
	
	public static final Integer COIN_NOTENOUGH_ERROR_CODE = 1017;
	public static final String  COIN_NOTENOUGH_ERROR_DESC = "金币不足，请先充值金币";
	
	public static final Integer PRODUCT_NOTEXISTS_ERROR_CODE = 1018;
	public static final String  PRODUCT_NOTEXISTS_ERROR_DESC = "产品不存在";
	
	public static final Integer PRODUCT_NOCHECK_ERROR_CODE = 1019;
	public static final String  PRODUCT_NOCHECK_ERROR_DESC = "该产品还未审核成功";
	
	public static final Integer PRODUCT_NOPUBLISH_ERROR_CODE = 1020;
	public static final String  PRODUCT_NOPUBLISH_ERROR_DESC = "您未发布过该产品";
	
	public static final Integer TIMESTAMP_NOTNULL_ERROR_CODE= 1021;
	public static final String TIMESTAMP_NOTNULL_ERROR_DESC="timestamp不能为空";
	
	public static final Integer IDCARD_VALIDATE_ERROR_CODE= 1022;
	public static final String IDCARD_VALIDATE_ERROR_DESC= "您输入的身份证号有误";
	
	public static final Integer PUSHCITY_NOTNULL_ERROR_CODE = 1023;
	public static final String PUSHCITY_NOTNULL_ERROR_DESC = "pushCity不能为空";
	
	
	public static final Integer LOANID_NOTNULL_ERROR_CODE = 1024;
	public static final String LOANID_NOTNULL_ERROR_DESC = "loanId不能为空";
	
	public static final Integer LOANSTATUS_NOTNULL_ERROR_CODE = 1025;
	public static final String LOANSTATUS_NOTNULL_ERROR_DESC = "loanStatus不能为空";
	
	public static final Integer GRABORDER_REPEAT_ERROR_CODE = 1026;
	public static final String GRABORDER_REPEAT_ERROR_DESC = "该订单您已抢购，不能再次抢单";
	
	public static final Integer REALNAME_NOTNULL_ERROR_CODE = 1027;
	public static final String REALNAME_NOTNULL_ERROR_DESC = "realName不能为空";
	
	public static final Integer IDNUM_NOTNULL_ERROR_CODE = 1028;
	public static final String IDNUM_NOTNULL_ERROR_DESC = "IDNum不能为空";
	
	public static final Integer CREDITORDER_NOTEXISTS_ERROR_CODE = 1029;
	public static final String CREDITORDER_NOTEXISTS_ERROR_DESC = "单子不存在";
	
	public static final Integer TOKEN_NOTNULL_ERROR_CODE = 1030;
	public static final String TOKEN_NOTNULL_ERROR_DESC = "您还未登录";
	
	public static final Integer AMOUNT_NOTNULL_ERROR_CODE= 1031;
	public static final String AMOUNT_NOTNULL_ERROR_DESC="amount不能为空";
	
	public static final Integer DEADLINE_NOTNULL_ERROR_CODE= 1032;
	public static final String DEADLINE_NOTNULL_ERROR_DESC="deadline不能为空";
	
	public static final Integer AGE_NOTNULL_ERROR_CODE= 1033;
	public static final String AGE_NOTNULL_ERROR_DESC="age不能为空";
	
	public static final Integer SEX_NOTNULL_ERROR_CODE= 1034;
	public static final String SEX_NOTNULL_ERROR_DESC="sex不能为空";
	
	public static final Integer HOMECITY_NOTNULL_ERROR_CODE= 1035;
	public static final String HOMECITY_NOTNULL_ERROR_DESC="homeCity不能为空";
	
	public static final Integer CURRENTCITY_NOTNULL_ERROR_CODE= 1036;
	public static final String CURRENTCITY_NOTNULL_ERROR_DESC="currentCity不能为空";
	
	public static final Integer IDNUMBER_NOTNULL_ERROR_CODE= 1037;
	public static final String IDNUMBER_NOTNULL_ERROR_DESC="IDNumber不能为空";
	
	public static final Integer CITY_NOTNULL_ERROR_CODE= 1038;
	public static final String CITY_NOTNULL_ERROR_DESC="city不能为空";
	
	public static final Integer PRODUCTTYPE_NOTNULL_ERROR_CODE= 1039;
	public static final String PRODUCTTYPE_NOTNULL_ERROR_DESC="productType不能为空";
	
	public static final Integer PRODUCTNAME_NOTNULL_ERROR_CODE= 1040;
	public static final String PRODUCTNAME_NOTNULL_ERROR_DESC="productName不能为空";
	
	public static final Integer COMPANYNAME_NOTNULL_ERROR_CODE= 1041;
	public static final String COMPANYNAME_NOTNULL_ERROR_DESC="companyName不能为空";
	
	public static final Integer REQUIREMENT_NOTNULL_ERROR_CODE= 1042;
	public static final String REQUIREMENT_NOTNULL_ERROR_DESC="requirement不能为空";
	
	public static final Integer MATERIAL_NOTNULL_ERROR_CODE= 1043;
	public static final String MATERIAL_NOTNULL_ERROR_DESC="material不能为空";
	
	public static final Integer PAYMENT_FINISH_ERROR_CODE= 1044;
	public static final String PAYMENT_FINISH_ERROR_DESC="支付交易已完成";
	
	public static final Integer ORDER_PRIVIGE_ERROR_CODE= 1045;
	public static final String ORDER_PRIVIGE_ERROR_DESC="您还没有权限抢此专属单";
	
	public static final Integer SMS_LIMIT_ERROR_CODE= 1046;
	public static final String SMS_LIMIT_ERROR_DESC="今天的短信发送数已用完";
	
	public static final Integer MINUTE_LIMIT_ERROR_CODE= 1047;
	public static final String MINUTE_LIMIT_ERROR_DESC="请1分钟后再发送";
	
	public static final Integer SMS_SEND_ERROR_CODE= 1048;
	public static final String SMS_SEND_ERROR_DESC="短信发送失败";
}
